# 读取temp.txt文件
with open('temp.txt', 'r', encoding='utf-8') as f:
    content = f.read()

# 将中文冒号替换为空格
processed_content = content.replace('：', ' ')

# 写入处理后的内容回temp.txt文件
with open('temp.txt', 'w', encoding='utf-8') as f:
    f.write(processed_content)

print("已去除temp.txt中的中文冒号")